Device scenario management

ABSTRACT

Disclosed are various examples for dynamically generating and implementing scenario profiles for a network of devices, including IoT devices. A managed device can receive a dynamically generated scenario profile that defines tasks to be performed by the device for a given scenario. The device can also receive a scenario message that is broadcasted to all managed devices in a network and identifies an occurrence of a given scenario. If the device determines that the device is an intended recipient of the scenario message, the device can identify the scenario profile associated with the given scenario and perform the tasks defined by the scenario profile. The scenario profile can be modified and/or updated based on event data associated with the device.

BACKGROUND

With the emergence of Internet of things (IoT) devices, physical objectscan gather data and interact with the physical world. A network of IoTdevices can be utilized to improve operations and provide new services.Different types of IoT devices have different capabilities that can beuseful in interacting with the physical world. For example, IP-enabledthermostats can be remotely controlled to adjust to a specific settingand can further provide real-time sensor data (e.g., sensor data).Further, IP-enabled lighting systems can be controlled to adjust toparticular settings.

Typically, IoT devices can be controlled by a centralized control device(e.g., smartphone, smart speaker, etc.). The control device can pairwith each of the different devices on a network to establish acommunication line. Using a control and command configuration, thecontrol device can instruct the different devices to behave in a definedmanner. Further, the control device can receive sensor data and/or otherinformation from the devices that can be useful in understanding a givenenvironment.

BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the present disclosure can be better understood withreference to the following drawings. The components in the drawings arenot necessarily to scale, with emphasis instead being placed uponclearly illustrating the principles of the disclosure. Moreover, in thedrawings, like reference numerals designate corresponding partsthroughout the several views.

FIG. 1 is a drawing of an example of a networked environment, includinga management system and a client device.

FIG. 2 is a drawing of another example of a network environmentincluding multiple client devices, including IoT devices, receiving abroadcasted scenario message indicating a scenario.

FIGS. 3-6 are example flowcharts illustrating functionality implementedby components of the networked environment.

DETAILED DESCRIPTION

The present disclosure relates to generating and implementing scenarioprofiles for a network of devices. In particular, IoT devices, forexample, each have different capabilities and can interact with aphysical world. The scenario profiles can define tasks to be performedby the different devices in a network for a given scenario. Each devicecan implement the tasks defined by the scenario profile allowing eachdevice to work collaboratively in a network while eliminating a need forpoint-to-point communications, device awareness, and centralizedcontrol.

A scenario can include any type of event defined by an administratorthat utilizes the different tasks and/or capabilities of the deviceswithin the network. A scenario can include a meeting, a cooking of ameal, an individual coming home from work, an individual waking up, aparty, and/or other type of scenario where IoT devices having specificcapabilities can be used to create an environment related to thescenario. For example, in a meeting scenario, a meeting room can containa television, a lighting system, speakers, blinds, and a projector. Eachof these devices have a set of tasks that they each can perform. Forexample, for a meeting scenario, a television can be powered on and thevolume set to a particular setting. Further, the lights can be dimmedand the blinds can be closed. In a scenario corresponding to a personwaking up in the morning, the different tasks can include setting atemperature of a room, brewing coffee, turning on lights, turning thetelevision on and setting the television on a news channel, etc.

Typically, networks including IoT devices implement a command andcontrol configuration in order to interact with the different IoTdevices in the network. Specifically, different types of IoT deviceshaving different functionalities can be paired to a control device(e.g., smartphone, smart speaker, etc.) that includes an applicationcapable of controlling the various IoT devices. In order to becontrolled and/or receive commands from the control application of thecontrol device, an IoT device must first pair with the control device toestablish a communication line. In this situation, the control device isaware of and directly paired to each of the different IoT devices in thenetwork.

However, the traditional command/control configurations are not easilyscalable, making it difficult to add new devices to the network. When anew IoT device joins the network, custom software is required for thecontrol device to understand and control the different capabilities ofthe new IoT device. Further, when a given scenario occurs that requiresthe use of multiple devices, the control device is required to follow aseries of if/then steps for each of the devices to set up the devicesfor a particular scenario. For example, if the scenario relates to ameeting, the control device runs through a list of programmed steps withrespect to each of the IoT devices (e.g., “if television, then instructtelevision”, “if lights, dim lights to setting A,” etc.). Accordingly,it can be beneficial to create an environment where the devices can bepreconfigured to perform one or more tasks and work collaborativelytogether without being under control of a centralized control device.

The present disclosure relates to a network configuration that generatesand implements profiles that define tasks to be performed by differentIoT devices in a network for a given scenario. According to variousimplementations, the traditional command/control configuration isreplaced by a configuration that allows each device to workcollaboratively in a network while eliminating a need for point-to-pointcommunications, device awareness, and centralized control.

According to various implementations of the present disclosure, scenarioprofiles are generated for IoT devices in a network. A scenario profileidentifies different tasks that are to be performed by a given deviceduring a particular scenario. As different devices can perform differenttasks, the scenario profiles can differ among devices for a givenscenario. According to some implementations, a management servicegenerates the scenario profiles according to administrator input. Inother implementations, the management service dynamically generates thescenario profiles according to device data indicating a history ofconfiguration settings. The management service can update and/or modifythe scenario profiles. The management service can distribute thescenario profiles to the devices in the network.

When a particular scenario occurs, a scenario message can be broadcastedto each device in a network. The scenario message identifies a scenarioas well as other parameters such as, for example, device group, a timeof scenario occurrence, content associated with the scenario, and/orother information. For example, if a meeting is about to start inMeeting Room A, a user can provide an input in a device application of auser device indicating the start of the meeting. The user device cangenerate a scenario message identifying the scenario and request themanagement service to broadcast the message to all devices on thenetwork.

An agent application executed on each of the devices in the network canlisten for scenario messages. When an agent application receives ascenario message, the agent application can determine if the device isan intended recipient of the message based on information included inthe message (e.g., device group). If the device is not an intendedrecipient of the message, the device can ignore the message. However, ifthe device is an intended recipient, the device can access the scenarioprofile associated with the scenario identified in the message andimplement the tasks defined by the scenario profile. Accordingly,devices can implement tasks for a given scenario without being paired toor instructed by a control device.

With reference to FIG. 1, shown is an example of a networked environment100. The networked environment 100 can include a management system 103and client devices 106 a . . . 106N (collectively “client devices 106”)in communication with one another over a network 109. The network 109can include, for example, the Internet, intranets, extranets, wide areanetworks (WANs), local area networks (LANs), wired networks, wirelessnetworks, other suitable networks, or any combination of two or moresuch networks. For example, the networks can include satellite networks,cable networks, Ethernet networks, telephony networks, and other typesof networks.

The management system 103 can include, for example, a server computer orany other system providing computing capability. Alternatively, themanagement system 103 can include a plurality of computing devices thatare arranged, for example, in one or more server banks, computer banks,or other arrangements. The management system 103 can include a gridcomputing resource or any other distributed computing arrangement. Thecomputing devices can be located in a single installation or can bedistributed among many different geographical locations. The managementsystem 103 can also include or be operated as one or more virtualizedcomputer instances. For purposes of convenience, the management system103 is referred to herein in the singular. Even though the managementsystem 103 is referred to in the singular, it is understood that aplurality of management system 103 can be employed. As the managementsystem 103 communicates with the client devices 106 remotely over thenetwork 109, the management system 103 can be described as a “remote” or“cloud” management system 103.

The management system 103 can include a data store 112. The data store112 can include memory of the management system 103, mass storageresources of the management system 103, or any other storage resourceson which data can be stored by the management system 103. The datastored in the data store 112, for example, can be associated with theoperation of the various applications or functional entities describedbelow.

The components executed on the management system 103 can include, forexample, a management service 118, as well as other applications,services, processes, systems, engines, or functionality not discussed indetail herein. The management service 118 can oversee the management andoperation of the client devices 106. The management service 118 cancause various software components to be installed on a client device106. Such software components can include, for example, clientapplications 121 a . . . 121N (hereinafter “client applications 121”),resources, libraries, drivers, device configurations and profiles, orother similar components that require installation on the client device106 as specified by an administrator of the management service 118. Themanagement service 118 can further cause policies to be implemented on aclient device 106. Policies can include, for example, restrictions orpermissions pertaining to capabilities of a client device 106.

The management service 118 can interact with one or more clientapplications 121 executed on the client device 106 to perform managementfunctions. In one example, the management service 118 interacts with anagent application 124 a . . . 124N (hereinafter “agent application 124”)on a client device 106 to enroll the client device 106 with themanagement service 118. When enrolled, the agent application 124 can beregistered as a device administrator of the client device 106, which canprovide the agent application 124 with sufficient privileges to controlthe operation of the client device 106. In one example, the agentapplication 124 can be registered as the device administrator throughthe installation of a management profile at the operating system of theclient device 106 that causes the operating system to designate theagent application 124 as the device administrator.

The management service 118 can direct the agent application 124 toperform device management functions on the client device 106. Forexample, the management service 118 can direct the agent application 124to control access to certain software or hardware functions available onthe client device 106. In some implementations, the management service118 can remotely configure the client device 106 by interacting with theagent application 124 executed on the client device 106. The managementservice 118 can dynamically generate scenario profiles 127 for thedifferent types of client devices 106 and different capabilities of theclient devices for a given scenario. The scenario profiles 127 definetasks and/or settings for a client device 106 with respect to a givenscenario.

The management service 118 can further provision data (e.g. scenarioprofile 127) to the client device 106 through the agent application 124.In one example, the management service 118 can cause the agentapplication 124 to control the use of the client device 106 or provisiondata to the client device 106 through use of a command queue provided bythe management service 118. In some examples, the management service 118can store commands in a command queue associated with a particularclient device 106 and accessible by the particular client device 106.

In some examples, the management service 118 can transmit an instructionto an original equipment manufacturer (OEM) messaging service specificto the client devices 106 (e.g., ANDROID CLOUD MESSAGING SERVICE™ forANDROID client devices) to cause the OEM specific messaging service tosend an instruction to the operating systems of the client devices 106,which causes the client devices 106 to retrieve data from the commandqueues provided by the management service 118. In other examples, theagent application 124 is executed by such client device 106 to retrievethe contents of the command queue. In one example, the agent application124 can retrieve the contents of the command queue on a configuredinterval, such as every four hours, or upon detection of a certainevent, such as detection of an unauthorized application being executedby the client device 106. The management service 118 can also pushcommands to the agent application 124.

In any case, the agent application 124 can receive the contents of thecommand queue from the management service 118. In one example, thecontents of the command queue can include a scenario profile 127generated by the management service 118. In another application, thecommand queue can include a command that the agent application 124should cause to be executed on the client device 106. In anotherexample, the contents of the command queue can include a resource orother client application 121 that the agent application 124 should causeto be installed on the client device 106, which the client device 106can access through a specified uniform resource locator (URL).

The data stored in the data store 112 can include, for example, devicedata 130, as well as other data. The device data 130 can includeinformation about the client device 106. The device data 130 caninclude, for example, information specifying applications that areinstalled on the client device 106, configurations or settings that areapplied to the client device 106, user accounts associated with theclient device 106, the physical location of the client device 106, anenterprise associated with the client device 106, the network to whichthe client device 106 is connected, a device group, capabilities of theclient device 106, a client device type (e.g., smartphone, smarttelevision, IoT lighting system, IoT cabinet, etc.), historicalconfiguration data, and/or other information associated with the clientdevice 106. The device data 130 further includes the scenario profiles127 generated for the client device 106 for a given scenario. Thescenario profiles 127 define one or more tasks and/or settings to beexecuted by the client device 106 in response to a given scenario. Thescenario profiles 127 can be in Extensible Markup Language (XML) format,JavaScript Object Notation (JSON) format, and/or any other type offormat as can be appreciated.

The client device 106 can be representative of one or more clientdevices 106. The client device 106 can include a processor-based system,such as a computer system, that can include a desktop computer, a laptopcomputer, a personal digital assistant, a cellular telephone, asmartphone, a set-top box, a music player, a tablet computer system, agame console, an electronic book reader, Internet-of-Things (IoT)devices (e.g., appliances, thermostats smart, lighting products, smartcabinets, smart blinds/shades, projectors, speakers, printers, locks,vehicles, controllers, actuators, monitors, tablets, etc.) or any otherdevice with like capability. The client device 106 can also be equippedwith networking capability or networking interfaces, including alocalized networking or communication capability, such as a near-fieldcommunication (NFC) capability, radio-frequency identification (RFID)read or write capability, or other localized communication capability.

The client device 106 can include an operating system configured toexecute various applications, such as client applications 121, an agentapplication 124, and/or other applications. Some client applications 121can access network content served up by the management system 103 orother servers, thereby rendering a user interface on a display, such asa liquid crystal display (LCD), touch-screen display, or other type ofdisplay device. To this end, some client applications 121 can include aweb browser or a dedicated application, and a user interface can includea network page, an application screen, or other interface. Further,other client applications 121 can include device managementapplications, enterprise applications, social networking applications,word processors, spreadsheet applications, media viewing applications,or other applications.

The agent application 124 can perform device management functions of onthe client device 106. The agent application 124 can further interactwith the management service 118 to receive scenario profiles 127defining tasks to perform during a given scenario. The agent applicationcan further listen to the network for scenario messages 139 (FIG. 2)that are broadcasted over the network work. In response to receiving ascenario message 139, the agent application 124 can determine if theclient device 106 is an intended recipient of the scenario message 139.If the client device 106 is an intended recipient, the agent application124 can implement the tasks defined by a corresponding scenario profile127.

In some implementations, the agent application 124 can listen for eventsthat occur with respect to the device 106. For example, a user canmanually adjust a setting and/or a feature associated with the clientdevice 106. When a setting and/or a feature is adjusted, the agentapplication 124 can record the event along with a timestamp of the eventoccurrence. The agent application 124 transmit the event data 141including the event notification and timestamp to the management service118. The management service 118 can use the event data 141 to determinewhether adjust and/or modify a given scenario profile 127.

The client device 106 can also include a data store 133 a . . . 133N(hereinafter “data store 133”). The data store 133 can include memory ofthe client devices 106 or any other storage resources on which data canbe stored by the client device 106. The data store 133 can includescenario profiles 127, one or more group identifiers 136 a . . .136N(hereinafter “group identifier 136”), and/or other data. The datastore 133 can include other data associated with the client application121, the operating system, and the agent application 124.

The scenario profiles 127 correspond to specific scenario profilesgenerated for the particular type of client device 106 for a givenscenario. For example, one stored scenario profile 127 can be for ascenario for “Begin Meeting—User A,” and another stored scenario profile127 can be for a scenario of “Begin Meeting—User B.” Where bothscenarios are related to meetings, but for different users. In addition,assume that client device 106 a includes a first type of IoT device(e.g., television), and client device 106N includes a second type of IoTdevice (e.g., thermostat). The scenario profiles 127 for the samescenario will be different for the different client devices 106 sincethe different client devices 106 have different capabilities.

The group identifier(s) 136 included identifiers that indicate groups ofdevices 106 in which a particular client device 106 can be assigned. Forexample, in a network of devices 106, the devices 106 can be located indifferent areas. In some implementations, a device group can be formedwith respect to the different locations of the devices (e.g., devices inMeeting Room A, devices in the kitchen, etc.). In other implementations,a device group can be formed according to the type of scenario. Forexample, if the scenario relates to a person waking up, the differentdevices 106 that can perform tasks related to the person waking up maynot be in the same location (e.g., floor warmer in bathroom, startcoffee pot in kitchen, turn on television in living room, etc.).However, each of the devices 106 can be assigned to a closed groupspecific to the scenario. In some implementations, a device 106 can beassigned to multiple groups. For example, a television can belong to agroup for Meeting Room A and a group associated with Building A.

The group identifier 136 can include a numeric number, a name, and/orany other type of identifier that can be used by the agent application124 to determine whether a particular device 106 belongs in a groupindicated in a scenario message 139 (FIG. 2). The data store 133 caninclude other data associated with the client application 121, theoperating system, and the agent application 124.

Next, a general description of the operation of the components of thenetworked environment 100 is provided. To begin, an administrator candefine a particular scenario that involves one or more client devices106, including IoT devices, in the network 109. The scenario can includeany type of event defined by an administrator that utilizes thedifferent tasks and/or capabilities of the devices 106 within thenetwork 109. A scenario can include a meeting, a cooking of a meal, anindividual coming home from work, an individual waking up, a party,and/or other type of scenario where IoT devices, having specificcapabilities can be used to create an environment related to thescenario.

For example, in a meeting scenario, a meeting room can contain atelevision, a lighting system, speakers, blinds, and a projector. Eachof these devices have a set of tasks that they each can perform. Forexample, for a meeting scenario, a television can be powered on and thevolume set to a particular setting. Further, the lights can be dimmedand the blinds can be closed. In a scenario corresponding to a personwaking up in the morning, the different tasks can include setting atemperature of a room, brewing coffee, turning on lights, turning thetelevision on and setting the television on a news channel, etc.

In some implementations, an administrator can define an initial set oftasks to be performed by each different type of device 106 for a givenscenario. According to the parameters defined by the administrator, amanagement service 118 can generate a scenario profile 127 for each ofthe different devices 106 in the network 109. The scenario profile 127defines the tasks for a client device 106 to perform when a givenscenario occurs. The scenario profiles 127 can be in Extensible MarkupLanguage (XML) format, JavaScript Object Notation (JSON) format, and/orany other type of format as can be appreciated. For example, a scenarioprofile 127 in XML format for a meeting scenario can include:

  <?xml version=“1.0”?>   <devicescenarioprofile>  <devicetype>Television</devicetype>   <name>Start Meeting</name>  <actions>   <action name=“TVOn” value=“true”/>   <actionname=“SetVolume” value=“25”/>   <action>name=“PlayContent”value=“parameter.Content”</action>   </actions>  </devicescenarioprofile>

In this example, the scenario profile 127 is generated for a television.The scenario profile 127 is defined such that when a television in thenetwork 109 receives a scenario message 139 naming a scenario as “StartMeeting,” the television powers on, sets the volume to 25, and if a“content” parameter is included in the scenario message 139, plays thecontent. Once the scenario profile 127 is created, the managementservice 118 can distribute the scenario profile 127 to all televisiondevices 106 in the network 109.

In some implementations, the management service 118 can modify thescenario profiles 127 according to administrator input and/or identifiedpatterns in configurations of client devices 106 using event data 141received from the client devices 106. For example, assume a user adjustsa particular setting and/or feature of a particular device 106 duringthe time of a known scenario. The agent application 124 of the clientdevice 106 can collect event data 141 associated with different eventsand transmit the event data 141 along with a timestamp of the occurrenceof the event to the management service 118. The management service 118can analyze the event data 141 to identify patterns associated with thedevice configurations and adjust the scenario profile 127 accordingly.

When a particular scenario occurs, a scenario message 139 can begenerated and broadcasted out to all of the devices 106 in the network109. The scenario message 139 can identify the type of scenario, a timeof the scenario occurrence, a device group associated with the scenario,content associated with the scenario (e.g., presentation, video content,audio content, images, etc.), and/or other information as can beappreciated. In some implementations, the scenario message 139 can begenerated by a client application 121 on a particular device 106 inresponse to receiving a user input identifying the scenario. Forexample, if the scenario corresponds to the start of a meeting, a userprovide a user input via a user interface rendered on a client device106 that indicates the start of a meeting. The client device 106 canthen generate a scenario message 139 that can be broadcasted out to thedevices 106 in the network 109 to notify the client devices 106 of thescenario.

In some implementations, the scenario message 139 can be generated by atrigger event associated with a particular device 106. For example, anopening of a smart garage door can cause a client application 121 of thesmart garage door to generate a scenario message 139 indicating ascenario of a person coming home. In other implementations, the scenariomessage 139 can be automatically generated by the client application 121of a client device at a predefined time for a particular scenario. Forexample, if the scenario relates to a person waking up, a clientapplication 121 on a particular client device 106 and/or the managementservice 118 can generate a scenario message 139 at a time associatedwith the person waking up and distribute the scenario message 139accordingly.

The scenario message 139 can be in XML format, JSON format, and/or anyother type of format as can be appreciated. An example, scenario message139 that can be broadcasted to the other devices 106 in the network 109can be the following:

  <?xml version=“1.0”?>   <scenario>   <name>Start Meeting</name>  <closedgroup>conferenceRoomEinstein</closedgroup>  <starttime>now</starttime>   <parameter key=“Content”value=https://youtube.com?v=xyz>   </scenario>

In this example, the scenario is identified as “Start Meeting”, thedevice group is identified as devices 106 in “conferenceRoomEinstein”,the scenario start time is “now”, and the content to be played isidentified by a uniform resource locator (URL).

When an agent application 124 on a client device 106 receives a scenariomessage 139, the agent application 124 can determine whether the clientdevice 106 is an intended recipient of the broadcasted scenario message139. For example, the broadcasted scenario message 139 can include agroup name, group identifier, and/or other type of indicator thatdefines the devices 106 associated with the scenario message 139. Theagent application 124 can use the indicator provided in the scenariomessage 139 to determine if the client device 106 is an intendedrecipient.

For example, if the scenario message 139 indicates that the groupcorresponds to client devices 106 located in a kitchen, the agentapplication 124 can compare the group identifier 136 of the clientdevice 106 and/or device location of the client device 106 with thegroup indicator of the scenario message 139 to determine if the clientdevice 106 is in the kitchen device group. In some implementations, thescenario message 139 does not indicate a device group, and the agentapplication 124 can determine if the client device 106 is an intendedrecipient based on whether a scenario profile 127 is stored in theclient device 106 for the identified scenario. If the client device 106is determined to be an intended recipient, the agent application 124 canaccess the scenario profile 127 for the identified scenario from thedata store 133. The agent application 124 can then implement the tasksaccording to the scenario profile 127.

In some implementations, the agent application 124 can determine that aparticular task cannot occur until completion of another task that isassociated with another scenario. For example, assume a scenario is to“cook casserole” and one of the devices 106 associated with the scenarioinclude a smart refrigerator. Further, assume that a task of therefrigerator is to determine a quantity of milk, and the refrigeratordetermines that there is no milk. The agent application 124 of therefrigerator can generate a scenario message 139 corresponding to an“out of milk” scenario and broadcast the message 139 to the otherdevices 106 in the network 109. Another client device 106 in the network109 that can perform the task of ordering the milk can receive thescenario message 139 and perform the task accordingly. In thissituation, the refrigerator is not required to know what other clientdevice 106 in the network 109 performs the task. Rather, therefrigerator can broadcast the scenario message 139, allowing thedevices 106 to work collaboratively to implement the tasks for ascenario without any type of device pairing or identification.

Turning now to FIG. 2, shown is example of a networked environment 200including client devices 106 a-f in a network 109 according to variousembodiments. The client devices 106 in FIG. 2 are client devices 106located in a location 202. Client device 106 a includes a mobile device,client device 106 b includes speakers, client device 106 c includes alighting system, client device 106 d includes a thermostat, clientdevice 106 e includes a television, and client device 106 f includes ablind system.

Each of the different client devices 106 b-f have different capabilitiesand can be configured to perform different tasks for a given scenario.For example, tasks associated with a television 106 e can includepowering on, powering off, adjusting the volume, changing the channel,and/or other tasks. Similarly, tasks associated with a thermostat device106 d can include adjusting temperature, turning on/off a fan, turningon/off heat, turning on/off air-conditioning, and/or other tasks.Further, each client device 106 b-f will have previously received ascenario profile 127 from the management service 118 of the managementsystem 103 identifying the different tasks to perform for a givenscenario.

Using the example of FIG. 2, a user can select the “Begin Meeting”component on a user interface rendered on client device 106 a. Selectionof this component can cause a client application 121 executed on clientdevice 106 a to generate a scenario message 139. The scenario message139 can indicate that that the scenario is “Begin Meeting,” the group is“Meeting Room A,” and the time of the scenario is “now”. The clientapplication 121 can then cause the scenario message 139 to bebroadcasted to all other devices 106 on the network 109. For example,the client application 121 can request the management service 118 todistribute the scenario message 139 to all devices 106 in the network109.

When the scenario message 139 is broadcasted, the agent application 124on each of the client devices 106 in the network 109 receives thescenario message 139. In the example of FIG. 2, client devices 106 b-106f are all in the device group associated with Meeting Room A. As such,the agent applications 124 for each of the client devices 106 b-106 fwill determine that they are each intended recipients of the scenariomessage 139. Each device 106 will then access the stored scenarioprofile 127 for the “Begin Meeting” scenario and implement therespective tasks defined in the scenario profile 127.

For example, client device 106 b can power on; client device 106 c canpower on and adjust the brightness according to specific setting; clientdevice 106 d can be configured to adjust to a predefined temperature;client device 106 e can power on, turn to a predefined channel, beginstreaming video content, and set the volume at defined level; and clientdevice 106 f can close the blinds. Each client device 106 performs thetasks defined by the scenario profile 127 in response to receiving thebroadcasted message 139. As such, there is no additional need for acontroller device to pair with each device 106 and/or to instruct eachdevice 106 individually to set the environment for a given scenario.

Moving on to FIG. 3, shown is a flowchart that provides one example ofthe operation of a portion of the client device 106. The flowchart ofFIG. 3 can be viewed as depicting an example of elements of a methodimplemented by the agent application 124, or other suitable softwarecomponent according to one or more examples. The separation orsegmentation of functionality as discussed herein is presented forillustrative purposes only.

In step 303, the agent application 124 receives a scenario message 139.According to various embodiments, the scenario message 139 isbroadcasted from another device 106 and/or the management service 118 toall other devices connected to the network 109. The scenario message 139can include an identification of a given scenario, a group of devices106 associated with the given scenario, a time associated with the givenscenario, and/or other information.

In step 306, the agent application 124 determines whether the clientdevice 106 is an intended recipient. The scenario message 139 canidentify a group of client devices 106 associated with the givenscenario. For example, if the scenario corresponds to a meeting inMeeting Room A, the group of client devices 106 for the given scenarioinclude all the devices 106 in Meeting Room A. In another example, ifthe scenario corresponds to a meal preparation, the group of clientdevices 106 for the given scenario can include all of the client devices106 in the kitchen. In determining whether the client device 106 is anintended recipient, the agent application 124 can compare, for example,a group identifier 136 associated with the client device 106 to a groupidentifier included in the scenario message 139. If the group identifier136 does not match, the agent application 124 proceeds to step 309 wherethe agent application 124 ignores the scenario message 139 and theprocess can proceed to completion. If the group identifier 136 matchesthe group identified in the scenario message 139, the agent application124 can determine that the client device 106 is an intended recipientand proceed to step 312.

In step 312, the agent application 124 identifies a scenario profile 127associated with the scenario identified in the scenario message 139. Forexample, if the scenario corresponds to a meeting, the agent application124 can identify the scenario profile 127 related to a meeting scenario.

In step 315, the agent application 124 executes the tasks identified bythe scenario profile. For example, if the client device 106 correspondsto a television, the agent application 124 can cause the television toturn on and set the volume to a defined volume level. Similarly, if theclient device 106 corresponds to a smart blind system, the agentapplication 124 can cause the smart blind system to lower the blinds.Thereafter, the process can proceed to completion.

Moving on to FIG. 4, shown is a flowchart that provides one example ofthe operation of a portion of the client device 106. The flowchart ofFIG. 4 can be viewed as depicting an example of elements of a methodimplemented by the agent application 124, client application 121 orother suitable software component according to one or more examples. Theseparation or segmentation of functionality as discussed herein ispresented for illustrative purposes only.

In step 403, the client application 121 determines an occurrence of anevent. For example, a user of a client device 106 can interact with auser interface and select a selectable component associated with aparticular scenario. According to various implementations, the clientapplication 121 can determine the occurrence of the scenario based onthe user input. For example, assume that the scenario is a meeting; auser can select a component in a user interface to indicate the start ofthe meeting. In some implementations, a user can further define via userinput additional parameters associated with the given scenario. Forexample, the user can define a start of the scenario, a location of thescenario, a device group associated with the scenario, and/or otherinformation.

In step 406, the client application 121 generates the scenario message139. The scenario message 139 can be generated to include a name of thescenario, a device group, a start time, and/or other information as canbe appreciated. The name of the scenario can be used by other clientdevices 106 to identify the type of scenario. Similarly, the devicegroup can be used by other client devices 106 to determine whether theyare part of the group associated with the given scenario. As such, thisindicator can be used by the client device 106 in determining whetherthey are an intended recipient. The time of the scenario can be used toindicate if the scenario is immediate or is to start a predeterminedtime. The scenario message 139 can be generated in Extensible MarkupLanguage (XML) format, JavaScript Object Notation (JSON) format, and/orany other type of format as can be appreciated.

In step 403, the client application 121 causes the scenario message 139to be broadcasted to the other devices 106 in the network 109. Forexample, without knowing and/or being paired to the other client devices106 in the network 109, the client device 106 can cause the scenariomessage 139 to be transmitted to all of the other devices 106 in thenetwork 109 by broadcasting the scenario message 139 to all devices 106associated with the network 109. In other implementations, the scenariomessage 139 can request the management service 118 to broadcast themessage 139 to the other devices. In other example, the clientapplication 121. Thereafter, the process can proceed to completion.

Moving on to FIG. 5, shown is a flowchart 500 that provides one exampleof the operation of a portion of the management system 103. Theflowchart of FIG. 5 can be viewed as depicting an example of elements ofa method implemented by the management service 118, or other suitablesoftware component according to one or more examples. The separation orsegmentation of functionality as discussed herein is presented forillustrative purposes only.

In step 503, the management service 118 identifies a client device 106associated with a given scenario. For example, the management service118 can determine the client devices 106 within a network that aremanaged by the management service 118. In some implementations, anadministrator can define, via an administrator console, a type ofscenario and the different client devices 106 that are associated withthe given scenario. In some implementations, a scenario can be definedby an administrator and the management service 118 can identify a clientdevice 106 according to a location of the client device 106 and alocation associated with the given scenario. For example, if a scenariois associated with a meeting in Meeting Room A, the management service118 can identify a client device 106 that is located in Meeting Room Aaccording to device data 130 associated with the client device 106.

In step 506, the management service 118 can determine the capabilitiesof the client device 106. The capabilities of the client device 106 caninclude the different tasks that can be performed by the client device.For example, the capabilities can include tasks such as powering on,powering off, adjusting setting levels, and/or other capabilitiesassociated with a given client device 106. The capabilities of theclient device 106 can be determined according to the device data 130associated with the device 106.

In step 509, the management service 118 generates the scenario profile127 for the given client device 106. The scenario profile 127 identifiestasks to be performed with respect to the given scenario and thecapabilities of the client device 106. The scenario profile 127 furtherdefines settings associated with particular functions and/or features ofthe client device 106. In some implementations, the scenario profile 127can be generated according to administrator inputs received via anadministrator console. In other implementations, parameters of thescenario profile 127 can be generated according to learned data. Forexample, the management service 118 can received event data 141associated with the client devices 106 that include timestamps andindications of events (e.g., powering on, adjusting channel, adjustingvolume, etc.) associated with the devices 106. The management service118 can correlate an event occurrence with a scenario occurrence basedat least in part on the timestamp associated with the event data 141from the managed devices 106. The management service 118 can define,adjust, and/or modify parameters in the scenario profile 127 based onthe received data. The scenario profile 127 can be generated inExtensible Markup Language (XML) format, JavaScript Object Notation(JSON) format, and/or any other type of format as can be appreciated.

In step 512, the management service 118 can cause the scenario profile127 to be distributed to the client device 106. In some implementations,the management service 118 can push the scenario profile 127 to theclient device 106. In other implementations, the management service 118can place the scenario profile 127 in a command queue associated withthe client device and the client device 106 can obtain the scenarioprofile 127 from the command queue.

In step 515, the management service 118 determines if there are othertypes of client devices 106 associated with the given scenario. If thereare other types of client devices 106, the management service 118returns to step 503. If there are no other client devices 106, theprocess can proceed to completion.

Moving on to FIG. 6, shown is a flowchart that provides one example ofthe operation of a portion of the management system 103. The flowchartof FIG. 6 can be viewed as depicting an example of elements of a methodimplemented by the management service 118, or other suitable softwarecomponent according to one or more examples. The separation orsegmentation of functionality as discussed herein is presented forillustrative purposes only.

In step 603, the management service 118 receives data from a clientdevice 106. The data received from the client device 106 can includedata associated with the operation and functionality of the clientdevice 106. For example, the data can include information related to thestate of the client device 106 at a given time, event data 141 relatedto an adjustment and/or trigger associated with a capability of theclient device 106 (e.g., turning the device on, adjusting a setting,etc.), and/or any other data associated with the managed client device106.

In step 606, the management service 118 determines whether an updatedscenario profile 127 should be generated. For example, the data receivedfrom the client device 106 can indicate that a particular setting to afunction and/or feature of the client device 106 was changed by a userinput (e.g., power on, power off, adjust volume, adjust temperature,etc.). The management service 118 can determine that the particularsetting occurred during an occurrence of a particular scenario (e.g.,meeting, cooking meal, etc.). The management service 118 can furtherdetermine, using historical data (e.g., event data 141) collected fromthe client device 106 over a period of time, that the particular settingis inputted consistently each time the scenario occurs.

Assuming the particular setting is not part of the current scenarioprofile 127, the management service 118 can determine whether thecurrent scenario profile 127 should be updated to include the setting.For example, if a number of times the setting has been changed during ascenario occurrence meets or exceeds a predefined threshold, themanagement service 118 can determine to update the particular scenarioprofile 127. Likewise, if a number of times the setting has been changedis below the predefined threshold, the management service 118 candetermine that the scenario profile 127 does not need to be updated. Ifan update to the scenario profile 127 is not to occur, the process canproceed to completion. Otherwise, the process proceeds to step 609.

In step 609, the management service 118 generates an updated scenarioprofile 127. In some implementations, the management service generates acomplete scenario profile 127 to reflect the determined update. In otherimplementations, the management service 118 generates an updatedscenario profile 127 that includes only the parameters affected by theupdate. For example, if only the volume of a television is to beadjusted, the updated scenario profile 127 can only include theparameter associated with the television volume.

In step 612, management service 118 can cause the updated scenarioprofile 127 to be distributed to the client device 106. In someimplementations, the management service 118 can push the updatedscenario profile 127 to the client device 106. In other implementations,the management service 118 can place the updated scenario profile 127 ina command queue associated with the client device 106, and the clientdevice 106 can obtain the scenario profile 127 from the command queue.Thereafter, the process can proceed to completion.

A number of software components are stored in the memory and executableby a processor. In this respect, the term “executable” means a programfile that is in a form that can ultimately be run by the processor.Examples of executable programs can be, for example, a compiled programthat can be translated into machine code in a format that can be loadedinto a random access portion of one or more of the memory devices andrun by the processor, code that can be expressed in a format such asobject code that is capable of being loaded into a random access portionof the one or more memory devices and executed by the processor, or codethat can be interpreted by another executable program to generateinstructions in a random access portion of the memory devices to beexecuted by the processor. An executable program can be stored in anyportion or component of the memory devices including, for example,random access memory (RAM), read-only memory (ROM), hard drive,solid-state drive, USB flash drive, memory card, optical disc such ascompact disc (CD) or digital versatile disc (DVD), floppy disk, magnetictape or other memory components.

Memory can include both volatile and nonvolatile memory and data storagecomponents. Also, a processor can represent multiple processors ormultiple processor cores, and the one or more memory devices canrepresent multiple memories that operate in parallel processingcircuits, respectively. Memory devices can also represent a combinationof various types of storage devices, such as RAM, mass storage devices,flash memory, or hard disk storage. In such a case, a local interfacecan be an appropriate network that facilitates communication between anytwo of the multiple processors or between any processor and any of thememory devices. The local interface can include additional systemsdesigned to coordinate this communication, including, for example,performing load balancing. The processor can be of electrical or of someother available construction.

Although the management service 118, client applications 121, agentapplications 124, and other various services and functions described canbe embodied in software or code executed by general purpose hardware asdiscussed above, as an alternative, the same can also be embodied indedicated hardware or a combination of software/general purpose hardwareand dedicated hardware. If embodied in dedicated hardware, each can beimplemented as a circuit or state machine that employs any one of or acombination of a number of technologies. These technologies can includediscrete logic circuits having logic gates for implementing variouslogic functions upon an application of one or more data signals,application specific integrated circuits (ASICs) having appropriatelogic gates, field-programmable gate arrays (FPGAs), or othercomponents.

The flowcharts show an example of the functionality and operation of animplementation of portions of components described. If embodied insoftware, each block can represent a module, segment, or portion of codethat can include program instructions to implement the specified logicalfunction(s). The program instructions can be embodied in the form ofsource code that can include human-readable statements written in aprogramming language or machine code that can include numericalinstructions recognizable by a suitable execution system such as aprocessor in a computer system or other system. The machine code can beconverted from the source code. If embodied in hardware, each block canrepresent a circuit or a number of interconnected circuits to implementthe specified logical function(s).

Although the flowcharts show a specific order of execution, it isunderstood that the order of execution can differ from that which isdepicted. For example, the order of execution of two or more blocks canbe scrambled relative to the order shown. Also, two or more blocks shownin succession can be executed concurrently or with partial concurrence.Further, one or more of the blocks shown in the drawings can be skippedor omitted.

Also, any logic or application described that includes software or codecan be embodied in any non-transitory computer-readable medium for useby or in connection with an instruction execution system such as aprocessor in a computer system or other system. In this sense, the logiccan include, for example, statements including instructions anddeclarations that can be fetched from the computer-readable medium andexecuted by the instruction execution system. In the context of thepresent disclosure, a “computer-readable medium” can be any medium thatcan contain, store, or maintain the logic or application described foruse by or in connection with the instruction execution system.

The computer-readable medium can include any one of many physical media,such as magnetic, optical, or semiconductor media. More specificexamples of a suitable computer-readable medium include solid-statedrives or flash memory. Further, any logic or application described canbe implemented and structured in a variety of ways. For example, one ormore applications can be implemented as modules or components of asingle application. Further, one or more applications described can beexecuted in shared or separate computing devices or a combinationthereof. For example, a plurality of the applications described canexecute in the same computing device, or in multiple computing devices.

It is emphasized that the above-described embodiments of the presentdisclosure are merely possible examples of implementations described fora clear understanding of the principles of the disclosure. Manyvariations and modifications can be made to the above-describedembodiments without departing substantially from the spirit andprinciples of the disclosure. All such modifications and variations areintended to be included within the scope of this disclosure.

1. A system for implementing scenario profiles, the system comprising: acomputing device; and at least one application executable in thecomputing device, wherein the at least one application, when executed,causes the computing device to: receive a message identifying a scenarioassociated with a performance of a plurality of different tasksperformed by a plurality of computing devices having differentcapabilities, the message being broadcasted over a network including theplurality of computing devices, and the message comprising at least oneof a scenario name, a scenario start time, or a link for accessingcontent associated with the scenario; determine that the computingdevice is an intended recipient of the message; access a scenarioprofile associated with the scenario, the scenario profile indicating atleast one task of the plurality of different tasks to be performed bythe computing device; and execute the task.
 2. The system of claim 1,wherein when executed, the at least one application further causes thecomputing device to at least receive the scenario profile from amanagement server device.
 3. The system of claim 1, wherein: the messagefurther includes a scenario group identifier for a group of computingdevices in a scenario group associated with the scenario, anddetermining that the computing device is the intended recipient of themessage further comprises determining that the computing device isincluded in the scenario group based on the scenario group identifier.4. The system of claim 1, wherein: the computing device is a firstcomputing device of the plurality of computing devices in the network;and individual computing devices of the plurality of computing deviceshave different scenario profiles from one another for the scenarioaccording to respective capabilities of the individual computingdevices.
 5. The system of claim 1, wherein when executed, the at leastone application further causes the computing device to at least:determine that the task requires completion of another task by anothercomputing device; generate another message identifying another scenarioassociated with the other task; and cause the other message to bebroadcasted to a plurality of other computing devices in the network. 6.The system of claim 1, wherein when executed, the at least oneapplication further causes the computing device to at least: identify anevent associated with a capability of the computing device; and send anotification of the event to a management server device, thenotification including event data identifying the event.
 7. The systemof claim 6, wherein when executed, the at least one application furthercauses the computing device to at least receive an updated scenarioprofile, the updated scenario profile being dynamically generated by themanagement server device based at least in part on the event data.
 8. Acomputer-implemented method for implementing scenario profiles, themethod comprising: receiving, by a computing device, a messageidentifying a scenario associated with a performance of a plurality ofdifferent tasks performed by a plurality of computing devices havingdifferent capabilities, the message being broadcasted over a networkincluding the plurality of computing devices, and the message comprisingat least one of a scenario name, a scenario start time, or a link foraccessing content associated with the scenario; determining that thecomputing device is an intended recipient of the message; accessing, onthe computing device, a scenario profile associated with the scenario,the scenario profile indicating at least one task of the plurality ofdifferent tasks to be performed by the computing device; and executingthe task.
 9. The computer-implemented method of claim 8, furthercomprising receiving the scenario profile from a management serverdevice.
 10. The computer-implemented method of claim 8, wherein: themessage further includes a scenario group identifier for a group ofcomputing devices in a scenario group associated with the scenario, anddetermining that the computing device is the intended recipient of themessage further comprises determining that the computing device isincluded in the scenario group based on the scenario group identifier.11. The computer-implemented method of claim 8, wherein: the computingdevice is a first computing device of the plurality of computing devicesin the network; and individual computing devices of the plurality ofcomputing devices have different scenario profiles from one another forthe scenario according to respective capabilities of the individualcomputing devices.
 12. The computer-implemented method of claim 8,further comprising: determining that the task requires completion ofanother task by another computing device; generating another messageidentifying another scenario associated with the other task; and causingthe other message to be broadcasted to a plurality of other computingdevices in the network.
 13. The computer-implemented method of claim 8,further comprising: identifying an event associated with a capability ofthe computing device; and sending a notification of the event to amanagement server device, the notification including event dataidentifying the event.
 14. The computer-implemented method of claim 13,further comprising receiving an updated scenario profile, the updatedscenario profile being dynamically generated by the management serverdevice based at least in part on the event data.
 15. A non-transitorycomputer-readable medium embodying a program executable in a computingdevice, wherein when executed, the program causes the computing deviceto at least: receive a message identifying a scenario associated with aperformance of a plurality of different tasks performed by a pluralityof computing devices having different capabilities, the message beingbroadcasted over a network including the plurality of computing devices,and the message comprising at least one of a scenario name, a scenariostart time, or a link for accessing content associated with thescenario; determine that the computing device is an intended recipientof the message; access a scenario profile associated with the scenario,the scenario profile indicating at least one task of the plurality ofdifferent tasks to be performed by the computing device; and execute thetask.
 16. The non-transitory computer-readable medium of claim 15,wherein when executed, the program further causes the computing deviceto at least receive the scenario profile from a management serverdevice.
 17. The non-transitory computer-readable medium of claim 15,wherein: the message further includes a scenario group identifier for agroup of computing devices in a scenario group associated with thescenario, and determining that the computing device is the intendedrecipient of the message further comprises determining that thecomputing device is included in the scenario group based on the scenariogroup identifier.
 18. The non-transitory computer-readable medium ofclaim 15, wherein: the computing device is a first computing device ofthe plurality of computing devices in the network; and individualcomputing devices of the plurality of computing devices have differentscenario profiles from one another for the scenario according torespective capabilities of the individual computing devices.
 19. Thenon-transitory computer-readable medium of claim 15, wherein, whenexecuted, the program further causes the computing device to at least:determine that the task requires completion of another task by anothercomputing device; generate another message identifying another scenarioassociated with the other task; and cause the other message to bebroadcasted to a plurality of other computing devices in the network.20. The non-transitory computer-readable medium of claim 15, wherein,when executed the program further causes the computing device to atleast: identify an event associated with a capability of the computingdevice; and send a notification of the event to a management serverdevice, the notification including event data identifying the event.